package top.infopub.mgr.mkt.service;

import com.github.pagehelper.Page;
import top.infopub.dto.mkt.AfterSummaryDto;
import top.infopub.mgr.common.vo.RspVo;
import top.infopub.mgr.mkt.domain.BidCurrencyDomain;
import top.infopub.mgr.mkt.jsonvo.AfterSummaryJsonVo;
import top.infopub.mgr.mkt.vo.BidCurrencyVo;
import top.infopub.model.mkt.*;
import top.infopub.security.vo.AuthorizationVO;

import java.text.ParseException;
import java.util.List;

/**
 * @Author Warking
 * @Date 2021/4/27 16:05
 * @Version 1.0
 */
public interface BidOpenResultService {
    Page<BidCurrencyDomain> selectPage(Page<BidCurrencyDomain> page, BidCurrencyVo bidCurrencyVo) throws ParseException;

    AfterSummaryJsonVo queryDetailById(String id);

    RspVo saveAll(AuthorizationVO vo, AfterSummaryDto info, List<AfterSummaryRank> afterSummaryRanks, List<AfterSummaryBid> afterSummBidList, List<ProjectAttachment> attachmentList, Integer submitType, String bodyStr);

    BidOpenResult selectById(String id);
}
